<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="css/show.css">
</head>
<body>
    <div class="top">
        <div class="top-top"><span class="swzl">校园失物招领</span><span class="email">Email：2536518660yang@gmail.com</span></div>
        <div class="top-a">
            <a href="${pageContext.request.contextPath}/allType?action=all&tid=0&keyWords="><span class="a-a"><img src="img/logo.png" height="50px" alt=""></span></a>
            <c:choose>
            	<c:when test="${USER_SESSION == null or USER_SESSION == ''}">
	            	<span class="a-b"><a href="login.jsp">登录</a> | <a href="register.jsp">注册</a></span>
				</c:when>
				<c:otherwise>
					<span class="a-b"><a href="my.jsp">${USER_SESSION.unikename }</a> | <a href="${pageContext.request.contextPath}/logout">注销</a></span>
				</c:otherwise>
            </c:choose>
        </div>
        <div class="top-b">
            <span class="dhl1"><a href="${pageContext.request.contextPath}/allType?action=all&tid=0&keyWords=">首 页</a></span>
            <span class="dhl2"><a href="my.jsp">我 的</a></span>
            <span class="dhl3"></span>
            <span class="ss">
                <form action="${pageContext.request.contextPath}/allType?action=all&search=search" method="post">
                    <input  class="ssk" type="search" name="keyWord" placeholder="请输入关键字"/>
                    <input class="sub" type="submit" value="  搜索  "/>                      
                </form>
            </span>
        </div>
    </div>
    
</body>
</html>